package com.example.dangerouscargodriver.entry;

import java.io.Serializable;
import java.util.List;

public class AddressIdentifyInfo implements Serializable {
    private String sg_name;
    private String heft;
    private String str;
    private List<AddressInfo> area_data;
    private List<TruckClassInfo2> truck_class;
    //这里缺一个货源类型，由于使用java的class关键字作为信息，导致需要单独解析
    private ResourceTypeInfo2 core_attr;

    public String getSg_name() {
        return sg_name;
    }

    public void setSg_name(String sg_name) {
        this.sg_name = sg_name;
    }

    public String getHeft() {
        return heft;
    }

    public void setHeft(String heft) {
        this.heft = heft;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    public List<AddressInfo> getArea_data() {
        return area_data;
    }

    public void setArea_data(List<AddressInfo> area_data) {
        this.area_data = area_data;
    }

    public List<TruckClassInfo2> getTruck_class() {
        return truck_class;
    }

    public void setTruck_class(List<TruckClassInfo2> truck_class) {
        this.truck_class = truck_class;
    }

    public ResourceTypeInfo2 getCore_attr() {
        return core_attr;
    }

    public void setCore_attr(ResourceTypeInfo2 core_attr) {
        this.core_attr = core_attr;
    }

    @Override
    public String toString() {
        return "AddressIdentifyInfo{" +
                "sg_name='" + sg_name + '\'' +
                ", heft='" + heft + '\'' +
                ", str='" + str + '\'' +
                ", area_data=" + area_data +
                ", truck_class=" + truck_class +
                ", resource_type=" + core_attr +
                '}';
    }
}
